package com.evony.common.beans 
{
    import flash.events.*;
    import mx.events.*;
    
    public class CommissionQuestArmyRankBean extends Object
    {
        public function CommissionQuestArmyRankBean(arg1:Object=null)
        {
            super();
            var loc1:*=0;
            _bindingEventDispatcher = new flash.events.EventDispatcher(flash.events.IEventDispatcher(this));
            if (arg1 != null) 
            {
                if (arg1.experience != null) 
                {
                    this.experience = arg1.experience;
                }
                if (arg1.playerId != null) 
                {
                    this.playerId = arg1.playerId;
                }
                if (arg1.rank != null) 
                {
                    this.rank = arg1.rank;
                }
            }
            return;
        }

        public function toDebugString(arg1:String=""):String
        {
            var loc1:*=0;
            var loc2:*="";
            loc2 = loc2 + (arg1 + "experience = " + this.experience + "\n");
            loc2 = loc2 + (arg1 + "playerId = " + this.playerId + "\n");
            loc2 = loc2 + (arg1 + "rank = " + this.rank + "\n");
            return loc2;
        }

        public function copyTo(arg1:com.evony.common.beans.CommissionQuestArmyRankBean):void
        {
            arg1.experience = this.experience;
            arg1.playerId = this.playerId;
            arg1.rank = this.rank;
            return;
        }

        public function toObject():Object
        {
            var loc1:*=new Object();
            loc1.experience = this.experience;
            loc1.playerId = this.playerId;
            loc1.rank = this.rank;
            return loc1;
        }

        [Bindable]
        public var experience:Number;

        [Bindable]
        public var playerId:int;

        [Bindable]
        public var rank:int;
    }
}
